package com.example.webdemo.service;

import com.example.webdemo.model.Tag;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zp
 * @version 1.0
 * @description: tags的接口类
 * @date 2023/7/31 18:55
 */
public interface TagsService {
    /**
     * @description: 获取所有的记录
     * @author zp
     * @date 2023/7/31 19:00
     * @version 1.0
     */
    List<Tag> selectAll();

    Tag selectByPrimaryKey(Integer id);

    int deleteByPrimaryKey(Integer id);

    int insert(Tag record);

    int insertSelective(Tag record);

    int updateByPrimaryKeySelective(Tag record);

    int updateByPrimaryKey(Tag record);
}
